/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package officeboost.entity.form;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import officeboost.util.ObConstants;
import org.jbpm.api.ExecutionService;

/**
 *
 * @author wangfrank
 */
//@Entity
public class TeacherChangeClassForm extends AbstractForm implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    private String name;
    private String school;
    private String department;
    private String class_id;
    private String class_name;
    private String grade;
    private String major;
    private String teacher;
    private String detail;
    private String reason;
    private String notice_detail;
    private String school_opinion;
    private String college_edu_office_opinion;
    
//    private boolean success;
//    private boolean complete;
//
//    public boolean isComplete() {
//        return complete;
//    }
//
//    public void setComplete(boolean complete) {
//        this.complete = complete;
//    }
//
//    public boolean isSuccess() {
//        return success;
//    }
//
//    public void setSuccess(boolean success) {
//        this.success = success;
//    }
    private int status;
    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClass_id() {
        return class_id;
    }

    public void setClass_id(String class_id) {
        this.class_id = class_id;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public String getCollege_edu_office_opinion() {
        return college_edu_office_opinion;
    }

    public void setCollege_edu_office_opinion(String college_edu_office_opinion) {
        this.college_edu_office_opinion = college_edu_office_opinion;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getNotice_detail() {
        return notice_detail;
    }

    public void setNotice_detail(String notice_detail) {
        this.notice_detail = notice_detail;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getSchool_opinion() {
        return school_opinion;
    }

    public void setSchool_opinion(String school_opinion) {
        this.school_opinion = school_opinion;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TeacherChangeClassForm)) {
            return false;
        }
        TeacherChangeClassForm other = (TeacherChangeClassForm) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "officeboost.entity.form.TeacherClassChangeForm[ id=" + id + " ]";
    }

    @Override
    public String apply(ExecutionService es) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Long theId() {
	throw new UnsupportedOperationException("Not supported yet.");
    }
}
